﻿using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Domain.IDomainService.System.IRoleService
{
    public interface IRoleStateManager
    {
        // 删除
        Task<DomainResult<AppRole>> DeleteRole(Guid id);
        // 启用
        Task<DomainResult<AppRole>> EnableRole(Guid id);
        // 软删除
        Task<DomainResult<AppRole>> DisableRole(Guid id);


    }
}
